home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-09-16 | 2.1 KB | [TEXT/PRLG] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: The Draw Predicate - OP
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Sep 16 16:00:22 1993, modified Thu Sep 16 16:00:22 1993, creator 'PRLG', type ASCII, 1650 bytes "The Draw Predicate - OP" , at 0x6f2 354 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [PRLG] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 54 68 65 20 44 72 | 61 77 20 50 72 65 64 69 |..The Dr|aw Predi|
|00000010| 63 61 74 65 20 2d 20 4f | 50 00 00 00 00 00 00 00 |cate - O|P.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 52 4c | 47 01 00 00 00 00 00 00 |.TEXTPRL|G.......|
|00000050| 00 00 00 00 00 06 72 00 | 00 01 62 a8 be 76 56 a8 |......r.|..b..vV.|
|00000060| be 76 56 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.vV.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 22 98 00 00 |........|...."...|
|00000080| 54 68 65 20 64 72 61 77 | 2f 33 20 70 72 65 64 69 |The draw|/3 predi|
|00000090| 63 61 74 65 20 69 6e 20 | 4f 70 65 6e 20 50 72 6f |cate in |Open Pro|
|000000a0| 6c 6f 67 2e 0d 0d 54 68 | 65 20 64 72 61 77 2f 33 |log...Th|e draw/3|
|000000b0| 20 70 72 65 64 69 63 61 | 74 65 20 69 73 20 61 20 | predica|te is a |
|000000c0| 66 61 69 72 6c 79 20 62 | 75 67 67 79 20 67 72 61 |fairly b|uggy gra|
|000000d0| 70 68 69 63 73 20 69 6e | 74 65 72 66 61 63 65 20 |phics in|terface |
|000000e0| 74 6f 20 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 2e 0d |to Open |Prolog..|
|000000f0| 50 6c 65 61 73 65 20 64 | 6f 6e 27 74 20 75 73 65 |Please d|on't use|
|00000100| 20 74 68 65 73 65 20 66 | 61 63 69 6c 69 74 69 65 | these f|acilitie|
|00000110| 73 20 75 6e 6c 65 73 73 | 20 79 6f 75 27 72 65 20 |s unless| you're |
|00000120| 68 61 70 70 79 20 28 21 | 29 20 74 6f 20 61 6c 6c |happy (!|) to all|
|00000130| 6f 77 20 79 6f 75 72 20 | 73 79 73 74 65 6d 20 74 |ow your |system t|
|00000140| 6f 0d 63 72 61 73 68 20 | 6f 63 63 61 73 69 6f 6e |o.crash |occasion|
|00000150| 61 6c 6c 79 2e 0d 54 68 | 65 20 77 69 6e 64 6f 77 |ally..Th|e window|
|00000160| 20 69 73 6e d5 74 20 66 | 75 6c 6c 79 20 69 6e 74 | isn.t f|ully int|
|00000170| 65 67 72 61 74 65 64 20 | 69 6e 74 6f 20 74 68 65 |egrated |into the|
|00000180| 20 77 69 6e 64 6f 77 20 | 68 61 6e 64 6c 69 6e 67 | window |handling|
|00000190| 20 73 79 73 74 65 6d 2c | 20 73 6f 20 73 6f 6d 65 | system,| so some|
|000001a0| 20 6f 64 64 20 62 65 68 | 61 76 69 6f 75 72 20 63 | odd beh|aviour c|
|000001b0| 61 6e 20 6f 63 63 75 72 | 2e 0d 54 6f 20 73 61 76 |an occur|..To sav|
|000001c0| 65 20 6f 72 20 70 72 69 | 6e 74 20 61 6e 79 20 64 |e or pri|nt any d|
|000001d0| 72 61 77 69 6e 67 73 2c | 20 69 74 d5 73 20 6e 65 |rawings,| it.s ne|
|000001e0| 63 65 73 73 61 72 79 20 | 74 6f 20 63 6f 70 79 20 |cessary |to copy |
|000001f0| 74 68 65 6d 20 76 69 61 | 20 74 68 65 20 63 6c 69 |them via| the cli|
|00000200| 70 62 6f 61 72 64 20 74 | 6f 20 61 6e 20 61 70 70 |pboard t|o an app|
|00000210| 72 6f 70 72 69 61 74 65 | 20 61 70 70 6c 69 63 61 |ropriate| applica|
|00000220| 74 69 6f 6e 2e 0d 0d 64 | 72 61 77 2f 33 20 69 73 |tion...d|raw/3 is|
|00000230| 20 61 6e 20 65 78 74 65 | 72 6e 61 6c 20 62 75 69 | an exte|rnal bui|
|00000240| 6c 74 2d 69 6e 20 70 72 | 65 64 69 63 61 74 65 20 |lt-in pr|edicate |
|00000250| 74 68 61 74 20 74 61 6b | 65 73 20 74 68 72 65 65 |that tak|es three|
|00000260| 20 61 72 67 75 6d 65 6e | 74 73 2e 0d 0d 54 68 65 | argumen|ts...The|
|00000270| 20 66 69 72 73 74 20 61 | 72 67 75 6d 65 6e 74 20 | first a|rgument |
|00000280| 69 73 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6e |is the c|ommand n|
|00000290| 75 6d 62 65 72 2e 0d 0d | 54 68 65 20 73 65 63 6f |umber...|The seco|
|000002a0| 6e 64 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 74 |nd argum|ent is t|
|000002b0| 68 65 20 70 61 72 61 6d | 65 74 65 72 2e 0d 0d 54 |he param|eter...T|
|000002c0| 68 65 20 74 68 69 72 64 | 20 61 72 67 75 6d 65 6e |he third| argumen|
|000002d0| 74 20 69 73 20 61 20 72 | 65 73 75 6c 74 2c 20 77 |t is a r|esult, w|
|000002e0| 68 69 63 68 20 69 73 20 | 6e 6f 74 20 75 73 65 64 |hich is |not used|
|000002f0| 2e 0d 0d 54 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |...The c|ommands |
|00000300| 63 75 72 72 65 6e 74 6c | 79 20 69 6d 70 6c 65 6d |currentl|y implem|
|00000310| 65 6e 74 65 64 20 61 6e | 64 20 74 68 65 69 72 20 |ented an|d their |
|00000320| 61 72 67 75 6d 65 6e 74 | 73 20 61 72 65 20 64 65 |argument|s are de|
|00000330| 73 63 72 69 62 65 64 20 | 62 65 6c 6f 77 2e 0d 0d |scribed |below...|
|00000340| 57 68 65 72 65 20 6e 6f | 20 61 72 67 75 6d 65 6e |Where no| argumen|
|00000350| 74 20 69 73 20 73 70 65 | 63 69 66 69 65 64 2c 20 |t is spe|cified, |
|00000360| 75 73 65 20 74 68 65 20 | 61 6e 6f 6e 79 6d 6f 75 |use the |anonymou|
|00000370| 73 20 76 61 72 69 61 62 | 6c 65 20 61 73 20 61 20 |s variab|le as a |
|00000380| 70 6c 61 63 65 68 6f 6c | 64 65 72 2e 0d 0d 0d 43 |placehol|der....C|
|00000390| 6f 6d 6d 61 6e 64 09 45 | 78 70 6c 61 6e 61 74 69 |ommand.E|xplanati|
|000003a0| 6f 6e 09 41 72 67 75 6d | 65 6e 74 73 0d 0d 31 09 |on.Argum|ents..1.|
|000003b0| 6f 70 65 6e 20 74 68 65 | 20 67 72 61 70 68 69 63 |open the| graphic|
|000003c0| 73 20 77 69 6e 64 6f 77 | 3a 09 3c 6e 61 6d 65 3e |s window|:.<name>|
|000003d0| 28 54 6f 70 2c 4c 65 66 | 74 2c 42 6f 74 74 6f 6d |(Top,Lef|t,Bottom|
|000003e0| 2c 52 69 67 68 74 29 0d | 0d 32 09 63 6c 6f 73 65 |,Right).|.2.close|
|000003f0| 20 74 68 65 20 67 72 61 | 70 68 69 63 73 20 77 69 | the gra|phics wi|
|00000400| 6e 64 6f 77 09 5f 0d 0d | 33 09 64 72 61 77 20 61 |ndow._..|3.draw a|
|00000410| 20 6c 69 6e 65 3a 09 6c | 69 6e 65 28 53 74 61 72 | line:.l|ine(Star|
|00000420| 74 58 2c 53 74 61 72 74 | 59 2c 45 6e 64 58 2c 45 |tX,Start|Y,EndX,E|
|00000430| 6e 64 59 29 0d 0d 34 09 | 64 72 61 77 20 61 20 72 |ndY)..4.|draw a r|
|00000440| 65 63 74 61 6e 67 6c 65 | 3a 09 72 65 63 74 28 4c |ectangle|:.rect(L|
|00000450| 65 66 74 2c 54 6f 70 2c | 52 69 67 68 74 2c 42 6f |eft,Top,|Right,Bo|
|00000460| 74 74 6f 6d 29 0d 0d 35 | 09 64 72 61 77 20 74 65 |ttom)..5|.draw te|
|00000470| 78 74 3a 09 74 65 78 74 | 28 58 2c 59 2c 54 65 78 |xt:.text|(X,Y,Tex|
|00000480| 74 41 74 6f 6d 29 0d 0d | 36 09 73 65 74 20 70 65 |tAtom)..|6.set pe|
|00000490| 6e 20 73 69 7a 65 3a 09 | 70 65 6e 53 69 7a 65 28 |n size:.|penSize(|
|000004a0| 57 69 64 74 68 2c 48 65 | 69 67 68 74 29 0d 0d 37 |Width,He|ight)..7|
|000004b0| 09 73 65 74 20 70 65 6e | 20 6d 6f 64 65 3a 09 70 |.set pen| mode:.p|
|000004c0| 65 6e 4d 6f 64 65 28 4d | 6f 64 65 4e 75 6d 62 65 |enMode(M|odeNumbe|
|000004d0| 72 29 0d 0d 38 09 73 65 | 74 20 70 61 74 74 65 72 |r)..8.se|t patter|
|000004e0| 6e 3a 09 70 65 6e 50 61 | 74 74 65 72 6e 28 50 61 |n:.penPa|ttern(Pa|
|000004f0| 74 74 65 72 6e 4e 75 6d | 62 65 72 29 0d 0d 39 09 |tternNum|ber)..9.|
|00000500| 73 65 74 20 66 6f 72 65 | 67 72 6f 75 6e 64 20 63 |set fore|ground c|
|00000510| 6f 6c 6f 75 72 09 63 6f | 6c 6f 72 28 43 6f 6c 6f |olour.co|lor(Colo|
|00000520| 72 4e 75 6d 62 65 72 29 | 0d 0d 31 30 09 73 65 74 |rNumber)|..10.set|
|00000530| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 63 6f 6c 6f | backgro|und colo|
|00000540| 75 72 09 63 6f 6c 6f 72 | 28 43 6f 6c 6f 72 4e 75 |ur.color|(ColorNu|
|00000550| 6d 62 65 72 29 0d 0d 31 | 31 09 65 72 61 73 65 20 |mber)..1|1.erase |
|00000560| 77 69 6e 64 6f 77 20 63 | 6f 6e 74 65 6e 74 73 09 |window c|ontents.|
|00000570| 5f 0d 0d 31 32 09 64 72 | 61 77 20 6f 76 61 6c 09 |_..12.dr|aw oval.|
|00000580| 6f 76 61 6c 28 4c 65 66 | 74 2c 54 6f 70 2c 52 69 |oval(Lef|t,Top,Ri|
|00000590| 67 68 74 2c 42 6f 74 74 | 6f 6d 29 0d 0d 0d 63 6f |ght,Bott|om)...co|
|000005a0| 6c 6f 72 4e 75 6d 62 65 | 72 73 0d 0d 30 20 74 6f |lorNumbe|rs..0 to|
|000005b0| 20 37 0d 0d 62 6c 61 63 | 6b 2c 79 65 6c 6c 6f 77 | 7..blac|k,yellow|
|000005c0| 2c 6d 61 67 65 6e 74 61 | 2c 72 65 64 2c 63 79 61 |,magenta|,red,cya|
|000005d0| 6e 2c 67 72 65 65 6e 2c | 62 6c 75 65 2c 77 68 69 |n,green,|blue,whi|
|000005e0| 74 65 0d 0d 0d 70 61 74 | 74 65 72 6e 73 0d 0d 31 |te...pat|terns..1|
|000005f0| 2d 33 38 0d 0d 73 65 65 | 20 49 6e 73 69 64 65 20 |-38..see| Inside |
|00000600| 4d 61 63 69 6e 74 6f 73 | 68 2c 20 56 6f 6c 20 31 |Macintos|h, Vol 1|
|00000610| 2c 20 70 34 37 34 0d 0d | 0d 6d 6f 64 65 4e 75 6d |, p474..|.modeNum|
|00000620| 62 65 72 0d 0d 38 2d 31 | 35 0d 0d 73 65 65 20 49 |ber..8-1|5..see I|
|00000630| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 2c |nside Ma|cintosh,|
|00000640| 20 56 6f 6c 20 31 2c 20 | 70 31 36 39 2f 31 37 30 | Vol 1, |p169/170|
|00000650| 0d 0d 0d 65 78 61 6d 70 | 6c 65 73 0d 64 72 61 77 |...examp|les.draw|
|00000660| 28 31 2c 27 47 72 61 70 | 68 69 63 73 20 57 69 6e |(1,'Grap|hics Win|
|00000670| 64 6f 77 27 28 34 30 2c | 34 30 2c 32 30 30 2c 32 |dow'(40,|40,200,2|
|00000680| 30 30 29 2c 5f 29 2e 20 | 25 6f 70 65 6e 20 61 20 |00),_). |%open a |
|00000690| 77 69 6e 64 6f 77 0d 0d | 64 72 61 77 28 34 2c 72 |window..|draw(4,r|
|000006a0| 65 63 74 28 32 30 2c 32 | 30 2c 31 38 30 2c 32 30 |ect(20,2|0,180,20|
|000006b0| 30 29 2c 5f 29 2e 20 25 | 64 72 61 77 20 61 20 72 |0),_). %|draw a r|
|000006c0| 65 63 74 61 6e 67 6c 65 | 0d 0d 64 72 61 77 28 32 |ectangle|..draw(2|
|000006d0| 2c 5f 2c 5f 29 2e 20 25 | 63 6c 6f 73 65 20 74 68 |,_,_). %|close th|
|000006e0| 65 20 67 72 61 70 68 69 | 63 73 20 77 69 6e 64 6f |e graphi|cs windo|
|000006f0| 77 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |w.......|........|
|00000700| 00 00 01 00 00 00 01 30 | 00 00 00 30 00 00 00 32 |.......0|...0...2|
|00000710| 74 2c 4f 4b 74 65 78 74 | 2c 43 61 6e 63 65 6c 54 |t,OKtext|,CancelT|
|00000720| 65 78 74 2c 52 65 70 6c | 79 54 65 78 74 2c 54 65 |ext,Repl|yText,Te|
|00000730| 17 54 68 65 20 44 72 61 | 77 20 50 72 65 64 69 63 |.The Dra|w Predic|
|00000740| 61 74 65 20 2d 20 4f 50 | 02 00 00 00 50 61 72 74 |ate - OP|....Part|
|00000750| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a9 c7 3a 2c 00 00 | 00 00 00 00 01 62 20 20 |....:,..|.....b |
|00000780| 20 20 45 4e 44 3b 0d 20 | 20 20 20 20 20 20 20 20 | END;. | |
|00000790| 20 20 20 20 20 20 20 4f | 54 48 45 52 57 49 53 45 | O|THERWISE|
|000007a0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000007b0| 20 20 20 73 69 67 6e 61 | 6c 45 72 72 6f 72 28 69 | signa|lError(i|
|000007c0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 45 72 72 |mplement|ationErr|
|000007d0| 6f 72 2c 20 2d 20 31 2c | 20 30 2c 0d 20 20 20 20 |or, - 1,| 0,. |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 27 70 72 65 64 69 | | 'predi|
|00000800| 00 00 00 2c 01 02 80 08 | 00 00 05 31 2e 30 2e 32 |...,....|...1.0.2|
|00000810| 1f 44 6f 63 75 6d 65 6e | 74 73 20 66 6f 72 20 4f |.Documen|ts for O|
|00000820| 70 65 6e 20 50 72 6f 6c | 6f 67 20 31 2e 30 2e 32 |pen Prol|og 1.0.2|
|00000830| 00 00 01 00 00 00 01 30 | 00 00 00 30 00 00 00 32 |.......0|...0...2|
|00000840| 00 46 73 f8 19 b6 00 00 | 00 1c 00 32 00 00 76 65 |.Fs.....|...2..ve|
|00000850| 72 73 00 00 00 0a 00 01 | ff ff 00 00 00 00 00 46 |rs......|.......F|
|00000860| 73 8c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+